package com.xcity.pomelo.response;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.protocol.Message;

@Deprecated
@PomeloMessage(type = Message.Type.RESPONSE)
public class PVEMoveBlockResponse extends Response {
	
	private int hp; // 自己剩余血量
	private int enemyHp;
	private byte syncStep;
	
	public PVEMoveBlockResponse(int serial, int hp, int enemyHp, boolean syncStep) {
		super(serial);
		this.hp = hp;
		this.enemyHp = enemyHp;
		this.syncStep = (byte) (syncStep ? 1 : 0);
	}

	public int getHp() {
		return hp;
	}

	public void setHp(int hp) {
		this.hp = hp;
	}

	public int getEnemyHp() {
		return enemyHp;
	}

	public void setEnemyHp(int enemyHp) {
		this.enemyHp = enemyHp;
	}

	public byte getSyncStep() {
		return syncStep;
	}

	public void setSyncStep(byte syncStep) {
		this.syncStep = syncStep;
	}
	
}
